<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>lable</title>
  <script src="vue/vue.js"></script>
</head>
<body>
<div id="asas">
<my-component>
  谷建平
</my-component>
</div>
<script>
  Vue.component('myComponent',{
    template:'<div>你好<slot></slot></div>'
  })
  var sds=new Vue({
    el:"#asas",
    data(){
      return {}
    }
  })
</script>
</body>
</html>